#include "peripherals.h"
void Peripherals::init()
{
    // Initialize peripherals here
}

bool Peripherals::SelfTest()
{
    cout << "电机" << name << "正在自检" << endl;
    cout << "|";
    for (int i = 0; i < 10; i++)
    {
        cout << "-";
    }
    cout << "|" << endl;
    cout << "电机" << name << "自检完毕" << endl;
    return true;
}